$MainColor: #255B8B;

.set-step{
  width: 720px;
  margin: 24px auto;
  margin-top: 16px;
  overflow: hidden;
  padding-top: 24px;
  .step-item{
    width: 170px;
    position: relative;
    text-align: center;
    float: left;
    .step-number{
      position: absolute;
      left: 50%;
      top: 1px;
      font-size: 14px;
      z-index: 2;
      width: 24px;
      margin-left: -12px;
      color: #fff;
      text-align: center;
    }
    &::before{
      position: absolute;
      left: 50%;
      width: 16px;
      height: 16px;
      top: 0;
      margin-left: -8px;
      content: "";
      background-color: #CCCCCC;
      border-radius: 50%;
    }
    &::after{
      position: absolute;
      left: 0;
      width: 100%;
      height: 5px;
      top: 8px;
      margin-top: -2px;
      content: "";
      background-color: #CCCCCC;
    }
    .step-text{
      display: inline-block;
      margin-top: 30px;
    }
  }
  .step-item.step-active{
    .step-number{
      top: -2px;
    }
    .step-text{
      color: $MainColor;
    }
    &::before{
      width: 24px;
      height: 24px;
      top: -6px;
      margin-left: -12px;
    }
    &::before,&::after{
      background-color: $MainColor;
    }

  }
}


.meal-list{
  .meal-item{
    float: left;
    width: 268px;
    padding: 30px 0;
    text-align: center;
    background-color: #FFFFFF;
    border-radius: 6px;
    margin-left: 27px;
    cursor: pointer;
    position: relative;
    border: 1px solid #FFFFFF;
    .meal-name{
      font-size: 24px;
      font-weight: 500;
      padding: 18px 0;
    }
    .meal-money{
      color: #D0021B;
      font-size: 18px;
    }
    .meal-tips{
      padding-top: 24px;
      color: #888888;
    }
  }
  .meal-item:nth-child(1) {
    margin-left: 0;
    .meal-name{
      color: #5E789E;
    }
  }
  .meal-item:nth-child(2) .meal-name{
    color: #EEA726;
  }
  .meal-item:nth-child(3) .meal-name{
    color: #668ECA;
  }
  .meal-item:nth-child(4) .meal-name{
    color: #FC8917;
  }
  .meal-item.meal-active{
    border-color: #255B8B;
    &::before{
      content: "";
      position: absolute;
      width: 100%;
      height: 100%;
      left: 0;
      top: 0;
      background-color: #255B8B;
      opacity: .15;
    }
    &::after{
      content: "";
      position: absolute;
      width: 20px;
      height: 20px;
      right: 0;
      bottom: 0;
      z-index: 2;
      background: url('../../assets/images/meal/meal-checked.png');
    }
  }
}
